﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp11
{
    class Program
    {
        static void Main(string[] args)
        {
            //有参
            emp empyee = new emp(1,"余华","男","写作部");
            empyee.dy();

            //;无参
            emp empyee1 = new emp();
            empyee1.Id = 2;
            empyee1.Name = "杨洋";
            empyee1.Sex = "男";
            empyee1.Departinfo = "明星部";

        }
    }
}
